import React, {Component} from 'react'
import {browserHistory } from 'react-router'
import {Button} from 'antd'

class Home extends Component {
    render() {
        return (
            <div className="container">
                {this.props.children}
            </div>
        )

        return (
            <div>
                <h2>欢迎使用管理平台</h2>
                <Button type={'primary'} onClick={()=>browserHistory.push('login')}>点击登录</Button>
            </div>
        )
    }
}

export default Home;
